package com.onesports.intelligent.k12.polarlight.mapper.sys;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.onesports.intelligent.k12.polarlight.domain.entity.sys.Menu;
import com.onesports.intelligent.k12.polarlight.domain.entity.sys.RoleMenu;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Wsy
 **/
@Mapper
public interface RoleMenuMapper extends BaseMapper<RoleMenu> {

    List<Menu> selectRoleMenu(@Param("roleIds") List<String> roleIds);

    List<Menu> listMenuByAccountId(@Param("accountId") String accountId, @Param("systemCode") String systemCode,@Param("isHomeMenu") Boolean isHomeMenu,@Param("isSuper") boolean isSuper);
}
